<extend name="Public/base"/>
<block name="sidebar">
    <include file="sidemenu"/>
</block>
<block name="body">
    <div class="main-title">
        <h2>
            游客建议管理
        </h2>
    </div>

    <!-- 数据表格 -->
    <div class="data-table">
        <table class="">
            <thead>
            <tr>
                <th class="">编号</th>
                <th class="">建议</th>
                <th>创建时间</th>
                <th class="">操作</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.advice}</td>
                    <td>{$vo.create_time}</td>
                    <td>
                        <a href="{:U('advice_detail',array('id'=>$vo['id']))}">查看</a>
                        <a href="{:U('advice_delete',array('id'=>$vo['id']))}" class="confirm ajax-get">删除</a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
    <!-- 分页 -->
    <div class="page">
        {$page}
    </div>
    </div>

</block>